/**
 * Created by Freeman on 2018/2/23.
 */
import React from 'react'
import {ActivityIndicator, StyleSheet, View} from 'react-native'
import {COLOR} from "../../config";

const AppLoading = ({}) => {

  return (
    <View style={styles.container}>
      <ActivityIndicator
        animating
        color={COLOR.indicatorColor}
        size="large"
      />
    </View>
  )
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
})

export default AppLoading
